Shading by Spherical Linear Interpolation using De Moivre's Formula
نویسندگان
چکیده
In the classical shading algorithm according to Phong, the normal is interpolated across the scanline, requiring a computationally expensive normalization in the inner loop. In the simplified and faster method by Gouraud, the intensity is interpolated instead, leading to faster but less accurate shading. In this paper we use a third way of doing the interpolation, namely spherical linear interpolation of the normals across the scanline. This has been explored before, however, the shading computation requires the evaluation of a cosine in the inner loop and this is too expensive to be efficient. By reformulating the original approach in a suitable way, De Moivre’s formula can be used directly for computing the intensity so that no normalization is needed. Hence, no trigonometric functions, divisions or square roots are necessary to compute in the inner loop. Unfortunately the setup for each scanline will be rather slow unless some efficient reformulation of the necessary trigonometric calculations can be found. We suggest this problem for future research.
منابع مشابه
Spherical harmonic Gradients for Mid-Range Illumination
Spherical harmonics are often used for compact description of incident radiance in low-frequency but distant lighting environments. For interaction with nearby emitters, computing the incident radiance at the center of an object only is not sufficient. Previous techniques then require expensive sampling of the incident radiance field at many points distributed over the object. Our technique all...
متن کاملShading by Quaternion Interpolation
The purpose of this paper is to show that linear interpolation of quaternions can be used for true Phong shading and also for related techniques that use frames, like bump mapping and anisotropic shading. Quaternion interpolation for shading has not been proposed in literature and the reason might be that it turns out to be mostly of academic interest, and it will here be explained why. Further...
متن کاملHardware Implementation of Phong Shading Using Spherical Interpolation
Computer image generation systems often represent curved surfaces as a mesh of planar polygons that are shaded to restore a smooth appearance. In software rendering Phong shading has been one of the most successful algorithms, because it can realistically handle specular materials. Since it requires the rendering equation to be evaluated for each pixel, its hardware support poses problems. This...
متن کاملProgressive Previewing of Ray-Traced Images Using Image-Plane Discontinuity Meshing
This paper presents a new method for progressively previewing a raytraced image while it is being computed. Our method constructs and incrementally updates a constrained Delaunay triangulation of the image plane. The points in the triangulation correspond to all of the image samples that have been computed by the ray tracer, and the constraint edges correspond to various important discontinuity...
متن کاملPrecision Normals: Beyond Phong
Almost all graphics architectures today support Gouraud shading, linear color interpolation between vertices; system designers aim toward a Phong shading model, linear interpolants of surface normals with a lighting model that supports both diffuse and specular components, as a superior means of rendering accurate images. However, the Phong model still retains serious artifacts. In this paper, ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003